package com.kty.utils;

/**
 * 转换方法
 */
public class TransFormation {

    /**
     * 数字转换为汉字
     */
    public static String transfer(int number) {

        String s = number + "";
        s = s.replace("1", "一");
        s = s.replace("2", "二");
        s = s.replace("3", "三");
        s = s.replace("4", "四");
        s = s.replace("5", "五");
        s = s.replace("6", "六");

        return s;

    }


}
